package bma.common.langutil.ai.callback;

import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;

/**
 * 
 * @author guanzhong
 * @since 1.0 (imported from BMA.ESP Project)
 * 
 * @param <RESP_TYPE>
 */
public interface AICallbackGettable<RESP_TYPE> extends AICallback<RESP_TYPE> {

	public RESP_TYPE get() throws ExecutionException, CancellationException,
			InterruptedException;

	public boolean isDone();

}
